package com.amumu.drama.model.recharge;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class ThirdRechargeLog implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "订单编号")
    private String orderSn;

    @ApiModelProperty(value = "用户ID")
    private Long memberId;

    @ApiModelProperty(value = "new-第三方类型（默认-福禄）")
    private String thirdType;

    @ApiModelProperty(value = "new-第三方订单ID")
    private String thirdOrderId;

    @ApiModelProperty(value = "充值参数")
    private String rechargeReq;

    @ApiModelProperty(value = "充值时间")
    private LocalDateTime rechargeTime;

    @ApiModelProperty(value = "充值状态(untreated:未处理,processing:处理中,success:成功,failed:失败) ")
    private String status;

    @ApiModelProperty(value = "失败原因")
    private String failReason;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime finishTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除状态（0-正常 1-删除）")
    private Integer deleteStatus;

    private static final long serialVersionUID = 1L;
}